\hypertarget{class_q_qt_virtual_click_widget}{}\section{Q\+Qt\+Virtual\+Click\+Widget Class Reference}
\label{class_q_qt_virtual_click_widget}\index{Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}}


{\ttfamily \#include $<$qqtvirtualclickwidget.\+h$>$}

Inheritance diagram for Q\+Qt\+Virtual\+Click\+Widget\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.018018cm]{class_q_qt_virtual_click_widget}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_adca90fa2a922fded6ed3e559ee8a070f}\label{class_q_qt_virtual_click_widget_adca90fa2a922fded6ed3e559ee8a070f}} 
{\bfseries Q\+Qt\+Virtual\+Click\+Widget} (Q\+Widget $\ast$parent=0)
\item 
void \mbox{\hyperlink{class_q_qt_virtual_click_widget_a9c406a5a5b2a82cd2709453cf4e5be89}{install\+Click\+Helper}} (\mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}} $\ast$helper)
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_ab076aa2db2462b6708d340f255704b86}\label{class_q_qt_virtual_click_widget_ab076aa2db2462b6708d340f255704b86}} 
\mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}} $\ast$ {\bfseries click\+Helper} () const
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_a5ce878b256197a961f626095125a1511}\label{class_q_qt_virtual_click_widget_a5ce878b256197a961f626095125a1511}} 
virtual bool {\bfseries event\+Filter} (Q\+Object $\ast$watched, Q\+Event $\ast$event) override
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \mbox{\hyperlink{class_q_qt_virtual_click_widget_a2e9874c5ec5aba763426dcacb012d7a7}{connect\+Click\+Helper}} ()
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_af3eed205a7b17dba47e9617c29b37514}\label{class_q_qt_virtual_click_widget_af3eed205a7b17dba47e9617c29b37514}} 
virtual void {\bfseries un\+Connect\+Click\+Helper} ()
\item 
virtual void \mbox{\hyperlink{class_q_qt_virtual_click_widget_ac0e5a03607e6c28036596fb4b6f709eb}{mouse\+Press\+Event}} (Q\+Mouse\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_a28c727fc0fc748f1e5c493d070413eab}\label{class_q_qt_virtual_click_widget_a28c727fc0fc748f1e5c493d070413eab}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_ada5af8a3eaf9e190a5a11a397c4cab29}\label{class_q_qt_virtual_click_widget_ada5af8a3eaf9e190a5a11a397c4cab29}} 
virtual void {\bfseries mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}} $\ast$ \mbox{\hyperlink{class_q_qt_virtual_click_widget_aba7e163132ae350d10f1bc4f395c7f31}{m\+Click\+Helper}}
\item 
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_a2c2c0c0d2ede1542c23c1a293e98825d}\label{class_q_qt_virtual_click_widget_a2c2c0c0d2ede1542c23c1a293e98825d}} 
\mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}} $\ast$ {\bfseries m\+Default\+Click\+Helper}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
内置\+Click\+Helper空指针

\mbox{\hyperlink{class_q_qt_virtual_click_widget}{Q\+Qt\+Virtual\+Click\+Widget}} 添加允许\+Click的功能 子类实现具体click信号 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_a2e9874c5ec5aba763426dcacb012d7a7}\label{class_q_qt_virtual_click_widget_a2e9874c5ec5aba763426dcacb012d7a7}} 
\index{Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}!connect\+Click\+Helper@{connect\+Click\+Helper}}
\index{connect\+Click\+Helper@{connect\+Click\+Helper}!Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}}
\subsubsection{\texorpdfstring{connect\+Click\+Helper()}{connectClickHelper()}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Virtual\+Click\+Widget\+::connect\+Click\+Helper (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

子类重写这两个函数,实现丰富的click能力 

Reimplemented in \mbox{\hyperlink{class_q_qt_double_click_sound_widget_a96be7b2c78a6454f37cf585a18dbd0d9}{Q\+Qt\+Double\+Click\+Sound\+Widget}}, \mbox{\hyperlink{class_q_qt_click_widget_ad70931a1404abafddd82679cd3b7c414}{Q\+Qt\+Click\+Widget}}, \mbox{\hyperlink{class_q_qt_double_click_widget_a5518af71ca2e9a7d7d1230faeb78015d}{Q\+Qt\+Double\+Click\+Widget}}, \mbox{\hyperlink{class_q_qt_click_sound_widget_abca5602ca11fd5d9f6a4f26d8248e702}{Q\+Qt\+Click\+Sound\+Widget}}, \mbox{\hyperlink{class_q_qt_long_click_sound_widget_a2fe9da353776d801101f849a1c8f5b51}{Q\+Qt\+Long\+Click\+Sound\+Widget}}, and \mbox{\hyperlink{class_q_qt_long_click_widget_acd01d09ecce47c27d46173fe552799cb}{Q\+Qt\+Long\+Click\+Widget}}.

\mbox{\Hypertarget{class_q_qt_virtual_click_widget_a9c406a5a5b2a82cd2709453cf4e5be89}\label{class_q_qt_virtual_click_widget_a9c406a5a5b2a82cd2709453cf4e5be89}} 
\index{Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}!install\+Click\+Helper@{install\+Click\+Helper}}
\index{install\+Click\+Helper@{install\+Click\+Helper}!Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}}
\subsubsection{\texorpdfstring{install\+Click\+Helper()}{installClickHelper()}}
{\footnotesize\ttfamily void Q\+Qt\+Virtual\+Click\+Widget\+::install\+Click\+Helper (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}} $\ast$}]{helper }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

提供给\+App用信号 界面层内部直接处理 用户可选使用 子类必然使用 \mbox{\Hypertarget{class_q_qt_virtual_click_widget_ac0e5a03607e6c28036596fb4b6f709eb}\label{class_q_qt_virtual_click_widget_ac0e5a03607e6c28036596fb4b6f709eb}} 
\index{Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}!mouse\+Press\+Event@{mouse\+Press\+Event}}
\index{mouse\+Press\+Event@{mouse\+Press\+Event}!Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}}
\subsubsection{\texorpdfstring{mouse\+Press\+Event()}{mousePressEvent()}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Virtual\+Click\+Widget\+::mouse\+Press\+Event (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

子类不必重写\+Mouse\+Event函数, 这里实现对click\+Helper的响应能力 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_q_qt_virtual_click_widget_aba7e163132ae350d10f1bc4f395c7f31}\label{class_q_qt_virtual_click_widget_aba7e163132ae350d10f1bc4f395c7f31}} 
\index{Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}!m\+Click\+Helper@{m\+Click\+Helper}}
\index{m\+Click\+Helper@{m\+Click\+Helper}!Q\+Qt\+Virtual\+Click\+Widget@{Q\+Qt\+Virtual\+Click\+Widget}}
\subsubsection{\texorpdfstring{m\+Click\+Helper}{mClickHelper}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}}$\ast$ Q\+Qt\+Virtual\+Click\+Widget\+::m\+Click\+Helper\hspace{0.3cm}{\ttfamily [protected]}}

如果默认的没有设置 那么会出现空指针. 在构造函数里初始化click\+Helper的时候初始化\+Default\+Click\+Helper 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/clickwidgets/qqtvirtualclickwidget.\+h\end{DoxyCompactItemize}
